
// 定义为独立函数
export const getLineMethodName = (positionFlag) => {
    if (positionFlag == 'judge') {
        return 'createJudgeConnectingLine';
    }
    if (positionFlag == 'loop') {
        return 'createLoopConnectingLine';
    }
    return 'createCurrencyConnectingLine';
};

export const getIsCustomLine = (positionFlag) => {
    if (positionFlag == 'judge') {
        return true;
    }
    if (positionFlag == 'loop') {
        return true;
    }
    return false;
}